﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="vistaConsultaCuenta.ascx.cs" Inherits="src_Vistas_vistaConsultaCuenta" %>




    
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div>
            <table >
             <tr>
                    <td style="width: 93px; height: 82px;">
                    </td>
                    <td style="width: 571px; height: 82px;"  align="center">
                        
                        <asp:Panel ID="Panel3" runat="server" Height="50px" Width="567px">
                        <table style="WIDTH: 572px; HEIGHT: 60px"><tbody><tr><td style="WIDTH: 275px" align="left"><asp:SiteMapPath id="SiteMapPath1" runat="server" Height="25px" Width="165px" PathSeparator=" : " Font-Size="0.8em" Font-Names="Verdana">
                                            <PathSeparatorStyle Font-Bold="True" ForeColor="#5D7B9D"  />
                                            <CurrentNodeStyle ForeColor="#333333"  />
                                            <NodeStyle Font-Bold="True" ForeColor="#7C6F57"  />
                                            <RootNodeStyle Font-Bold="True" ForeColor="#5D7B9D"  />
                                        </asp:SiteMapPath> </td><td><asp:Label id="Label1" runat="server" Text="Botones"></asp:Label></td></tr></tbody></table>
                              <asp:Label ID="l_texto" runat="server" Text="Esta opción permite consultar los movimientos de las cuentas del beneficiario de alimentación." Width="567px" />
                              <asp:Label ID="l_texto2" runat="server" Text="Ud. podrá consultar los movimientos del año en curso y del año anterior" Width="571px" /></asp:Panel>                       
                    </td>
                    <td style="width: 38px; height: 82px;">
                    </td>
                    </tr>
                <tr>
                    <td style="height: 248px">
                    </td>
                    <td  align="left" style="height: 248px" >
                       
                        <asp:Panel ID="Panel2" runat="server" Height="50px" Width="125px">
                        <table style="width: 571px; height: 59px">
                            <tr>
                                <td style="width: 148px; height: 21px;" align="left">
                                    <asp:Label ID="l_nacionalidad" runat="server" Text="Nacionalidad"></asp:Label></td>
                                <td style="height: 21px; width: 224px;" align="left">
                                    <asp:Label ID="l_ci" runat="server" Text="C.I. :"></asp:Label></td>
                                <td style="width: 69px; height: 21px">
                                </td>
                            </tr>
                            <tr >
                                <td style="width: 148px; height: 32px;" align="left">
                                    <asp:DropDownList ID="comboNacionalidad" runat="server">
                                    </asp:DropDownList></td>
                                <td align="left" style="width: 224px; height: 32px;">
                                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>
                                <td style="width: 69px; height: 32px;">
                                    <asp:Button ID="bot_aceptar" runat="server" Text="Aceptar" />
                                 </td>
                            </tr>
                            </table>
                            <asp:UpdatePanel ID="UpdatePanel2" runat="server" >
                                <ContentTemplate>
                            <table style="width: 418px; height: 143px">
                            <tr>
                                <td style="width: 171px" align="left">
                                    <asp:Label ID="l_contrato" runat="server" Text="Contrato Beneficiario:"></asp:Label></td>                               
                            </tr>
                             <tr>
                                <td style="width: 171px" align="left">
                                    <asp:Label ID="l_numContrato" runat="server" Text="4567800"></asp:Label></td>                                
                            </tr>
                             <tr>
                                <td style="width: 171px" align="left">
                                    <asp:Label ID="l_nombreBeneficiario" runat="server" Text="Nombre Beneficiario: "></asp:Label></td>
                            </tr>
                             <tr>
                                <td style="width: 171px; height: 28px;" align="left">
                                    <asp:Label ID="l_nombre" runat="server" Text="Pedro Pérez"></asp:Label></td> 
                            </tr>                            
                        </table>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </asp:Panel>
                        <br />
                        &nbsp;
                    </td>
                    <td style="width: 38px; height: 248px">
                    </td>
                </tr>
                 <tr>
                    <td style="width: 93px;">
                    </td>
                    <td style="width: 571px;" align="left">
                        <asp:Panel ID="Panel4" runat="server" Height="50px" Width="125px">
                            <table style="WIDTH: 568px;">
                                <tr>
                                    <td style="width: 436px">
                                        <br />
                                        <br />
                                        
                                    <asp:Label ID="l_movimientos" runat="server" Text="Movimientos">
                                    </asp:Label>
                                    </td>
                                    <td style="width: 199px">
                                </td>
                                <td style="width: 226px">
                                </td>
                                <td style="width: 985px" align="right">
                                </td>
                                    <td align="right" style="width: 953px">
                                    </td>
                                    <td align="right" style="width: 388px">
                                    </td>
                                </tr>
                            <tr>
                                <td style="width: 436px;">
                                    <asp:Label ID="l_mes" runat="server" Text="Mes:"></asp:Label></td>
                                <td style="width: 199px;">
                                    <asp:DropDownList ID="ComboMes" runat="server">
                                    </asp:DropDownList></td>
                                <td style="width: 226px;">
                                    <asp:Label ID="l_ano" runat="server" Text="Año:"></asp:Label></td>
                                <td style="width: 985px;">
                                    <asp:DropDownList ID="comboAno" runat="server">
                                    </asp:DropDownList></td>    
                                <td style="width: 953px">
                                </td>
                                <td style="width: 388px">
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 436px; height: 26px;">
                                </td>
                                <td style="width: 199px; height: 26px;">
                                </td>
                                <td style="width: 226px; height: 26px;">
                                </td>
                                <td style="width: 985px; height: 26px;" align="right">
                                    </td>
                                <td align="right" style="width: 953px; height: 26px;">
                                </td>
                                <td align="right" style="width: 388px; height: 26px;">
                                    <asp:Button ID="bot_consultar" runat="server" Text="Consultar" /></td>
                            </tr>
                            
                        </table>
                            <table style="width: 570px">
                                <tr>
                                    <td style="width: 158px">
                                    </td>
                                    <td style="width: 263px">
                                    </td>
                                    <td style="width: 132px">
                                    </td>
                                </tr>
                                <tr>
                                    <td style="width: 158px">
                                    </td>
                                    <td style="width: 263px">
                        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                            <ContentTemplate>
                                <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                                    CellPadding="4" DataSourceID="SqlDataSource1" ForeColor="#333333" GridLines="None">
                                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                    <Columns>
                                        <asp:BoundField DataField="id" HeaderText="id" SortExpression="id" />
                                        <asp:BoundField DataField="nombre" HeaderText="nombre" SortExpression="nombre" />
                                        <asp:BoundField DataField="apellido" HeaderText="apellido" SortExpression="apellido" />
                                    </Columns>
                                    <RowStyle BackColor="#EFF3FB" />
                                    <EditRowStyle BackColor="#2461BF" />
                                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                    <AlternatingRowStyle BackColor="White" />
                                </asp:GridView>
                                <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:prueba1ConnectionString %>"
                                    SelectCommand="SELECT * FROM [persona]"></asp:SqlDataSource>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                                    </td>
                                    <td style="width: 132px">
                                    </td>
                                </tr>
                                <tr>
                                    <td style="width: 158px" align="center">
                                        </td>
                                    <td style="width: 263px" align="center">
                                        </td>
                                    <td style="width: 132px">
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                    </td>
                    <td style="width: 38px;">
                    </td>
                    </tr>
            </table>
        </div>


